package com.gaojinqi.base.core.jpa.impl;

import com.gaojinqi.base.core.jpa.BaseTreeRepository;
import com.gaojinqi.base.common.model.BaseTreeEntity;

import javax.persistence.EntityManager;
import java.io.Serializable;

/**
 * 通用的基础树结构repository接口
 *
 * @author gaojinqi
 * @version 1.0
 * @since 2020年05月07日
 */
public class BaseTreeRepositoryImpl<T extends BaseTreeEntity<ID>, ID extends Serializable>
        extends BaseRepositoryImpl<T, ID> implements BaseTreeRepository<T, ID> {

    private final EntityManager entityManager;

    public BaseTreeRepositoryImpl(Class<T> domainClass, EntityManager em) {
        super(domainClass, em);
        this.entityManager = em;
    }



}
